import Cookies from 'js-cookie'

const TokenKey = 'VUE_CTS_ZY_2_token'

// 读取 token
export function getToken() {
  return Cookies.get(TokenKey)
}

// 设置token
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

// 移出token
export function removeToken() {
  return Cookies.remove(TokenKey)
}
